<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8"/>
    <title>档案信息</title>
    <meta name="renderer" content="webkit"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta
            name="viewport"
            content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"
    />
    <link rel="stylesheet" href="../layui/css/layui.css" media="all"/>
    <link rel="stylesheet" href="../style/admin.css" media="all"/>
    <link rel="stylesheet" href="../style/home.css" media="all"/>

    <script>
        /^http(s*):\/\//.test(location.href) ||
        alert('请先部署到 localhost 下再访问');
    </script>
    <style type="text/css">
        html,
        body {
            width: 100%;
            height: 100%;
            margin: 0px;
            padding: 0px;
            border: 0px;
            overflow: hidden;
            /* overflow-x: scroll; */
        }

        .layui-card-header {
            height: 35px;
            line-height: 35px;
            background-color: #e2e2e2;
            margin-right: 5px;
        }

        .layui-card-body {
            height: calc(100% - 65px);
            padding: 0 5px 10px 0px;
        }

        #wrapper {
            display: flex;
            flex-direction: column;
            width: 100%;
            height: 100%;
        }


        .content {
            width: 100%;
            flex: 1;
            overflow: auto;
            height: 60%;
        }

        .layui-fluid {
            padding: 7px 5px 5px 5px;
            background-color: #FFFFFF;
        }

        .layui-input, .layui-btn {
            height: 28px;
            font-size: 12px;
            line-height: 28px;
        }

        .layui-form-item {
            margin-bottom: 0px;
        }

    </style>
</head>
<body class="layui-layout-body">
<div class="layui-card" style="height: 100%; padding-top: 7px">
    <div class="layui-card" style="height: 100%" id="recordData">
        <div class="layui-card-header">
            <div>档案信息</div>
            <div class="layui-layout-right" style="margin: 0; font-size: 12px;">
                <div style="margin: 3px 0 0 0; float: left">
                    <form class="layui-form" action="">
                        <div class="layui-form-item">
                            <div class="layui-input-inline" style="width: 300px">
                                <input type="text" name="value" lay-verify="value" autocomplete="off"
                                       placeholder="快速检索" class="layui-input">
                            </div>
                            <div class="layui-form-mid" style="padding: 0!important; margin-right: 5px;">
                                <button type="submit" class="layui-btn layui-btn-normal" lay-submit=""
                                        lay-filter="recordSearch">
                                    <i class="layui-icon layui-icon-search"></i>检索
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
        <div class="layui-card-body">
            <table id="recordDataTable" lay-filter="recordDataTable"></table>
        </div>
    </div>
</div>

</body>

<script id="recordOperationBar" type="text/html">
    <a lay-filter="edit" href="#" lay-event="edit">
        <i class="layui-icon layui-icon-edit p3" title="编辑"></i>
    </a>
    <a lay-filter="del" href="#" lay-event="del">
        <i class="layui-icon layui-icon-delete p3" title="删除"></i>
    </a>
    <a lay-filter="viewDigiFiles" href="#" lay-event="viewDigiFiles">
        <i class="layui-icon layui-icon-read p3" title="浏览电子文件"></i>
    </a>
    <a lay-filter="changelog" href="#" lay-event="changelog">
        <i class="layui-icon layui-icon-form p3" title="历史追溯"></i>
    </a>
</script>
<script id="entityStatusTpl" type="text/html">
    {{#  if(d.entitystatus=="0"){ }}
    未归还
    {{#  } }}
    {{#  if(d.entitystatus=="1"){ }}
    已归还
    {{#  } }}
</script>
<script id="statusTpl" type="text/html">
    {{#  if(d.status=="1"){ }}
    <i class="layui-icon layui-icon-ok"></i>
    {{#  } }}
</script>
<script id="viewTpl" type="text/html">
    {{#  if(d.digi=="1"){ }}
    <i class="layui-icon layui-icon-ok"></i>
    {{#  } }}
</script>
<script>
    let pid = "[[${pid}]]";
    let tid = "[[${tid}]]";
    let classifyId = "[[${classifyId}]]"
    let fillingModel = "[[${fillingModel}]]";
    let parentId = "[[${parentId}]]";
</script>
<script src="../layui/layui.js"></script>
<script src="../js/modules/archives/archivesRecord.js"></script>
</html>